package com.three.service;

import com.three.entity.Role;
import com.three.vo.R;

public interface RoleService {
    //查询所有
    public R getAll();

    R selectByPage(Integer currentPage, Integer pageSize);

    R addRole(Role role);

    R getByRoleId(Integer roleid);

    R updateRole(Role role);

    R deleteRole(Integer roleid);

    //查找所有正常状态下的角色
    R roleAll();
}
